package kuzmenkov.oip.controller.applet;

import java.util.List;

/**
 * This interface describes UI components that support displaying of polygons.
 * @author Michael Kuzmenkov
 *
 */
public interface IPolygonSupportedUIC {
	
	/**
	 * Sets a list of polygons. The elements of the list have type
	 * {@link java.awt.geom.Path2D}
	 * @param polygons
	 */
	void setPolygons(List polygons);
	List getPolygons();
	/**
	 * Enables/disables a support of displaying of polygons
	 * @param isSupported
	 */
	void setSupport (boolean enable);
}
